package com.yukexx.modules.user.service.impl;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.github.pagehelper.PageHelper;
import com.yukexx.common.utils.IDUtils;
import com.yukexx.common.utils.LoggerFactoty;
import com.yukexx.common.utils.Page;
import com.yukexx.common.utils.YkResult;
import com.yukexx.modules.user.dao.UserDao;
import com.yukexx.modules.user.entity.User;
import com.yukexx.modules.user.entity.UserQuery;
import com.yukexx.modules.user.service.UserStudentService;

/**
 * <p>Title: UserStudentServiceImpl</p>
 * <p>Description: 用户-学生服务层实现</p>
 * <p>Company: www.yukexx.com</p>
 * @author  王磊
 * @date	2017年12月21日17:50:17
 * @version 1.0
 */
@Service
public class UserStudentServiceImpl implements UserStudentService{
	@Autowired
	private UserDao userDao;

	Logger logger = LoggerFactoty.getLogger(UserStudentServiceImpl.class);
	
	@Override
	public List<User> get(UserQuery example) {
		return userDao.selectByExample(example);
	}
}
